CSharpTest.Net
SafeLock<TException> Constructor(Object,Int32)
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Synchronization Namespace > SafeLock<TException> Structure > SafeLock<TException> Constructor : SafeLock<TException> Constructor(Object,Int32)

monitor
timeoutMilliseconds

Glossary Item Box

Acquires the monitor lock on the object within timeoutMilliseconds, or throws TimeoutException

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal monitor As Object, _
   ByVal timeoutMilliseconds As Integer _
)
C# 
public SafeLock<TException>( 
   object monitor,
   int timeoutMilliseconds
)

Parameters

monitor
timeoutMilliseconds

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys